/**
 * 
 */
package com.cqan.system.controller;

import java.io.IOException;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.cqan.controller.BaseController;
import com.cqan.system.entity.VersionUpgrade;
import com.cqan.system.service.VersionUpgradeService;

/**
 * @Description 版本升级控制器
 * @author slaton.wu@gmail.com
 * @date 2012-7-9下午7:46:01
 * 
 */
@Controller
@RequestMapping("/version")
public class VersionUpgradeController extends BaseController<VersionUpgrade> {

	@Resource(name = "versionUpgradeService")
	private VersionUpgradeService versionUpgradeService;

	@RequestMapping(value = "/list.htm")
	public ModelAndView upgrade(HttpServletRequest request,
			HttpServletResponse response) {
		try {
			response.getOutputStream().write("asdfqwerqwer".getBytes());
		} catch (IOException e) {
			e.printStackTrace();
		}
		return new ModelAndView();
	}
}
